﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="BHTT.index" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Đăng nhập hệ thống</title>
    <link rel="stylesheet" href="Styles/styleLogin.css"/>
    <script type="text/javascript">
        function dangnhap() {
            var context='';
            var args="login";
            <%=Dangnhap %>
        }

        function callBackDangnhap(data, context) {
            var kq = data;
            window.location.href='Trangchu.aspx';
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <center>
            <table id="tblLogin">
                <tr class="labeltr">
                    <td class="label">Tên đăng nhập: </td>
                </tr>
                <tr>
                    <td>
                        <fieldset class="toggle">
                            <telerik:RadTextBox ID="txtTendangnhap" runat="server" Rows="1" Height="24" 
                                Width="280" Font-Size="16" BorderStyle="None" />
                            <img src="Image/eye.png" id="Img1" onMouseDown="passwd.type='text'" onMouseUp="passwd.type='password'" onMouseout="passwd.type='password'"/>
                        </fieldset>
                    </td>
                </tr>
                <tr class="labeltr">
                    <td class="label">Mật khẩu: </td>
                </tr>
                <tr>
                    <td>
                        <fieldset class="toggle">
                            <telerik:RadTextBox ID="txtPassword" runat="server" TextMode="Password" 
                                Rows="1" Height="24" Width="280" Font-Size="16" BorderStyle="None" />
                            <img src="Image/eye.png" id="Img2" onMouseDown="passwd.type='text'" onMouseUp="passwd.type='password'" onMouseout="passwd.type='password'"/>
                        </fieldset>
                    </td>
                </tr>
                <tr>
                    <td id="button">
                        <input type="button" id="btnLogin" value="Đăng nhập" onclick="dangnhap()"/>
                    </td>
                </tr>
            </table>
        </center>
    </form>
</body>
</html>
